package vote.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDate;

/**
 * Description:限制每天只能投票一次
 * Author:han
 * Date: 2024-05-21
 */
@Data
@TableName("vote_log")
public class VoteLog {
    @TableId(type = IdType.AUTO)
    private Long id;
    private Long userId;
    private String ip;
    private LocalDate voteDate;
    private Integer count;
    private Integer limitCount;
}
